import java.util.Arrays;
public class Test1 {
    public static void main(String[] args) {
        int[] a = new int[]{9,3,2,1,5,4,7,0};
        System.out.println(Arrays.toString(a));
        Arrays.sort(a);
        System.out.println(Arrays.toString(a));
    }
}
